namespace = cr_wol_seduction

long_character_event = {
	id = cr_wol_seduction.1
	title = CR_WOL_SEDUCTION_1_TITLE
	desc = CR_WOL_SEDUCTION_1_DESC
	picture = GFX_cr_evt_lovers
	border = GFX_event_long_frame_intrigue
	is_triggered_only = yes
	trigger = { has_focus = focus_seduction has_character_flag = cr_wol_seduction_active }
	option = {
		name = CR_WOL_SEDUCTION_1_A
		set_character_flag = cr_wol_seduction_charm
		character_event = { id = cr_wol_seduction.2 }
	}
	option = {
		name = CR_WOL_SEDUCTION_1_B
		set_character_flag = cr_wol_seduction_direct
		character_event = { id = cr_wol_seduction.2 }
	}
	option = {
		name = CR_WOL_SEDUCTION_1_C
		trigger = { wealth = 15 }
		wealth = -15
		set_character_flag = cr_wol_seduction_gift
		character_event = { id = cr_wol_seduction.2 }
	}
	option = {
		name = CR_WOL_SEDUCTION_1_D
		set_character_flag = cr_wol_seduction_shared_interest
		character_event = { id = cr_wol_seduction.2 }
	}
}

character_event = {
	id = cr_wol_seduction.2
	hide_window = yes
	is_triggered_only = yes
	immediate = {
		random_list = {
			55 = {
				modifier = { factor = 1.50 has_character_flag = cr_wol_seduction_charm diplomacy = 12 }
				modifier = { factor = 1.50 has_character_flag = cr_wol_seduction_direct intrigue = 12 }
				modifier = { factor = 1.50 has_character_flag = cr_wol_seduction_gift stewardship = 12 }
				modifier = { factor = 1.50 has_character_flag = cr_wol_seduction_shared_interest learning = 12 }
				modifier = { factor = 1.35 trait = fair }
				modifier = { factor = 1.35 trait = groomed }
				modifier = { factor = 1.25 trait = gregarious }
				modifier = { factor = 1.25 trait = seducer }
				modifier = { factor = 1.25 trait = seductress }
				modifier = { factor = 1.25 trait = exhibitionist }
				modifier = { factor = 1.35 trait = nymphomaniac }
				modifier = { factor = 1.50 event_target:cr_wol_seduction_target = { trait = lustful } }
				modifier = { factor = 1.75 event_target:cr_wol_seduction_target = { trait = nymphomaniac } }
				modifier = { factor = 1.35 event_target:cr_wol_seduction_target = { trait = exhibitionist } }
				modifier = {
					factor = 1.50
					event_target:cr_wol_seduction_target = {
						OR = {
							trait = cheap_whore
							trait = experienced_whore
							trait = exclusive_whore
						}
					}
				}
				character_event = { id = cr_wol_seduction.10 }
			}
			45 = {
				modifier = { factor = 1.50 trait = shy }
				modifier = { factor = 1.25 trait = ugly }
				modifier = { factor = 1.50 event_target:cr_wol_seduction_target = { trait = chaste } }
				modifier = { factor = 1.25 event_target:cr_wol_seduction_target = { trait = shy } }
				character_event = { id = cr_wol_seduction.11 }
			}
		}
	}
}

long_character_event = {
	id = cr_wol_seduction.10
	title = CR_WOL_SEDUCTION_10_TITLE
	desc = CR_WOL_SEDUCTION_10_DESC
	picture = GFX_cr_evt_lovers
	border = GFX_event_long_frame_intrigue
	is_triggered_only = yes
	option = {
		name = CR_WOL_SEDUCTION_10_A
		cr_gain_carnal_good_ending_trait_effect = yes
		event_target:cr_wol_seduction_target = { save_event_target_as = cr_intimacy_partner }
		cr_record_contextual_intimacy_effect = yes
		if = { limit = { NOT = { is_lover = event_target:cr_wol_seduction_target } } add_lover = event_target:cr_wol_seduction_target }
		clear_event_target = cr_intimacy_partner
		cr_wol_complete_seduction_mastery = yes
		cr_wol_cleanup_seduction = yes
	}
	option = {
		name = CR_WOL_SEDUCTION_10_B
		cr_gain_carnal_good_ending_trait_effect = yes
		event_target:cr_wol_seduction_target = { save_event_target_as = cr_intimacy_partner }
		cr_record_contextual_intimacy_effect = yes
		clear_event_target = cr_intimacy_partner
		prestige = 15
		cr_wol_complete_seduction_pleasure = yes
		cr_wol_cleanup_seduction = yes
	}
	option = {
		name = CR_WOL_SEDUCTION_10_C
		cr_gain_carnal_good_ending_trait_effect = yes
		event_target:cr_wol_seduction_target = { save_event_target_as = cr_intimacy_partner }
		cr_record_contextual_intimacy_effect = yes
		clear_event_target = cr_intimacy_partner
		event_target:cr_wol_seduction_target = { add_friend = ROOT }
		cr_wol_complete_seduction_mastery = yes
		cr_wol_cleanup_seduction = yes
	}
}

long_character_event = {
	id = cr_wol_seduction.11
	title = CR_WOL_SEDUCTION_11_TITLE
	desc = CR_WOL_SEDUCTION_11_DESC
	picture = GFX_cr_evt_courtiers_talking
	border = GFX_event_long_frame_intrigue
	is_triggered_only = yes
	option = {
		name = CR_WOL_SEDUCTION_11_A
		cr_gain_humble_good_ending_trait_effect = yes
		event_target:cr_wol_seduction_target = { opinion = { who = ROOT modifier = cr_wol_seduction_rejected months = 6 } }
		cr_wol_progress_intrigue_education = yes
		cr_wol_cleanup_seduction = yes
	}
	option = {
		name = CR_WOL_SEDUCTION_11_B
		cr_gain_proud_bad_ending_trait_effect = yes
		event_target:cr_wol_seduction_target = {
			opinion = { who = ROOT modifier = cr_wol_seduction_rejected years = 2 }
			random_list = { 25 = { add_rival = ROOT } 75 = { } }
		}
		prestige = -15
		cr_wol_progress_gendered_seduction = yes
		cr_wol_cleanup_seduction = yes
	}
	option = {
		name = CR_WOL_SEDUCTION_11_C
		cr_gain_learning_good_ending_trait_effect = yes
		prestige = 5
		cr_wol_progress_intrigue_education = yes
		cr_wol_cleanup_seduction = yes
	}
}
